package Zoo.Service;

import Zoo.Entity.UserEntity;
import Zoo.Util.TableDTO;

import java.sql.SQLException;


/**
 * 查询功能
 * @return 返回Vector<Vector<Object>>
 */
public interface UserService {
    boolean validateUser(UserEntity userEntity) throws SQLException;

    TableDTO retrieveUsers(UserEntity user,String userName);

    boolean update(UserEntity userEntity);

}
